package com.duobaoyu.dby.supply.db.repository.message;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.db.entity.message.SystemLog;
import org.springframework.data.mongodb.core.query.Query;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName SystemLogRepository
 * @createTime 17:53:00 2023/10/14
 */
public interface SystemLogRepository {
    boolean save(SystemLog systemLog);

    boolean existsByUniqueKey(String uniqueKey);

    SystemLog selectOneById(String systemLogId);

    Page<SystemLog> page(Page<SystemLog> page, Query query);
}
